<extend name="Public:userbase"/>
<block name="content">
    <div class="user-info">
    <table class="table table-striped">
        <tr><td>用户名</td><td id="username">{$userInfo.user_name}</td></tr>
        <tr><td>昵称</td><td>{$userInfo.nickname}</td></tr>
        <tr><td>性别</td><td>{$userInfo.sex}</td></tr>
        <tr><td>出生日期</td><td>{$userInfo.birthday}</td></tr>
        <tr><td>邮箱</td><td>{$userInfo.email}</td></tr>
        <tr><td>电话</td><td>{$userInfo.telephone}</td></tr>
        <tr><td>学号</td><td>{$userInfo.studentnumber}</td></tr>
        <tr><td>学院</td><td>{$userInfo.college}</td></tr>
        <tr><td>专业</td><td>{$userInfo.major}</td></tr>
        <tr><td>年级</td><td>{$userInfo.grade}</td></tr>
    </table>
    <button type="button" class="btn btn-default" id="btn-userInfo">编辑</button>
    </div>
</block>